#include <iostream>

using namespace std;
class test
{
public:
	int r1;
	double out();
};
double test::out()
{
	return 2*3.14*r1;
}


int main()
{
	test a;
	a.r1=10;
	cout << a.out() << endl;
	return 0;
}
